package org.openshp.unifiedweb.api;

import org.openshp.unifiedweb.api.interfaces.Component;

public abstract class WebComponent {
	
	private IWebFactory webFactory = null;
	private Component rootComponent = null;
	
	public WebComponent(){}
	
	public void setWebFactory(IWebFactory wf){
		webFactory = wf;
	}
	
	public IWebFactory getWebFactory(){
		return webFactory;
	}

	public void setRootComponent(Component rc){
		this.rootComponent = rc;
	}
	
	public Component getRootComponent(){
		return this.rootComponent;
	}
}
